package com.ruoyi.merchant.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 门店管理员对象 ims_yzzc_sun_branch_admin
 * 
 * @author ruoyi
 * @date 2024-03-21
 */
public class ImsYzzcSunBranchAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 门店id */
    @Excel(name = "门店id")
    private Long bid;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uid;

    /** 管理员权限 */
    @Excel(name = "管理员权限")
    private Integer auth;

    /** 门店管理员创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    /** 管理员昵称 */
    private String uname;

    /** 管理员昵称 */
    private String phone;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    /** 用户id */
    private Long uniacid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBid(Long bid) 
    {
        this.bid = bid;
    }

    public Long getBid() 
    {
        return bid;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setAuth(Integer auth) 
    {
        this.auth = auth;
    }

    public Integer getAuth() 
    {
        return auth;
    }
    public void setUniacid(Long uniacid) 
    {
        this.uniacid = uniacid;
    }

    public Long getUniacid() 
    {
        return uniacid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bid", getBid())
            .append("uid", getUid())
            .append("auth", getAuth())
            .append("uniacid", getUniacid())
            .append("createtime", getCreatetime())
            .toString();
    }
}
